package com.example.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @program: backend
 * @author: zk
 * @create: 2023-04-21 16:26
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_shop")
public class Shop {
    private static final long serialVersionUID = 1L;
    /**
     * 产品对应编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品简介
     */
    private String subtitle;

    /**
     * 产品图片
     */
    private String mainImage;

    /**
     * 状态
     */
    private int status;

    /**
     * 产品价格
     */
    private double price;

    /**
     * 商品介绍详情的图片路径
     */
    private String subImages;

    /**
     * 鞋子尺码
     */
    private String size;

}
